package com.gt.self.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gt.self.domain.PrintInfoDao;
import com.gt.self.domain.UsBookPat;
import com.gt.self.domain.vo.PrintInfoVo;
import com.gt.self.domain.vo.ReportParamVo;
import com.gt.self.mapper.UsBookPatMapper;
import com.gt.self.mapper.UsCheckListMapper;
import com.gt.self.service.UsBookPatService;
import com.gt.self.service.UsCheckListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class UsCheckListServiceImpl implements UsCheckListService {

    @Autowired
    private UsCheckListMapper usCheckListMapper;


    @Override
    public PrintInfoDao getPrintDataByApplyNo(ReportParamVo reportParamVo) {
        return usCheckListMapper.getPrintDataByApplyNo(reportParamVo);
    }

    @Override
    public PrintInfoDao getPrintData(ReportParamVo reportParamVo) {
        return usCheckListMapper.getPrintData(reportParamVo);
    }

    @Override
    public PrintInfoDao selectFinishPrintInfoByApplyNo(ReportParamVo reportParamVo) {
        return usCheckListMapper.selectFinishPrintInfoByApplyNo(reportParamVo);
    }

    @Override
    public List<PrintInfoDao> selectFinishPrintInfo(ReportParamVo reportParamVo) {
        return usCheckListMapper.selectFinishPrintInfo(reportParamVo);
    }

    @Override
    public void updatePrintStatus(PrintInfoDao printInfoDao) {
        usCheckListMapper.updatePrintStatus(printInfoDao);
    }

    @Override
    public List<PrintInfoDao> getSelfPrintData(String commonNo) {
        return usCheckListMapper.getSelfPrintData(commonNo);
    }
}
